library(shiny)
shinyUI(pageWithSidebar(
headerPanel("CSV Viewer"),
sidebarPanel(
fileInput("file1", "choose CSV File", accept=c("text/csv", "text/comma-separated-values, text/plain", ".csv", ".spc")),
tags$hr(),
checkboxInput("header", "Header", TRUE),
radioButtons("sep", "Seperator", c(Comma=",", Semicolon=";", Tab="\t"), "Comma"),
radioButtons("quote", "Quote", c("None"='', "Double Quote"="''", "Single Quote"="'"), "Double Quote")
),
mainPanel(
tableOutput("contents")
)
))